package com.job.model;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 系统管理员类
 * @author hasee
 */
@Entity()
@Table()
public class Manager {
    /**
     * 类别id 用来区分用户1 管理者3 用人单位2
     */
    private int sortId=3;
    /**
     * 管理员id
     */
    private int managerId;
    /**
     * 管理员用户名
     */
    private String managerName;
    /**
     * 管理员密码
     */
    private int managerPassWord;
    @Id
    @GeneratedValue(generator="increment")
    @GenericGenerator(name="increment", strategy = "increment")
    public int getSortId() {
        return sortId;
    }

    public void setSortId(int sortId) {
        this.sortId = sortId;
    }

    public int getManagerId() {
        return managerId;
    }

    public void setManagerId(int managerId) {
        this.managerId = managerId;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public int getManagerPassWord() {
        return managerPassWord;
    }

    public void setManagerPassWord(int managerPassWord) {
        this.managerPassWord = managerPassWord;
    }
}
